package dev.blogmoon.cn.common.typehandler;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;

import java.util.List;

@MappedJdbcTypes(JdbcType.VARCHAR)
@MappedTypes({List.class})
public class StringListTypeHandler extends ListTypeHandler<String> {

    @Override
    protected List<String> convertList(List<String> stringList) {
        return stringList;
    }
}
